From: Jonas Ã…dahl Date: Fri, 5 Sep 2025 13:53:18 +0000 (+0200) Subject: layout: Give dummy cursor actor a name X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~88^2~9^2^2~7 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f78c9526437227d790137c8c0db57e814bbf4ad2;p=gnome-shell.git layout: Give dummy cursor actor a name Helps when introspecting the actor tree. Part-of: (cherry picked from commit df3ad638e4b02522bbf273b558982877e67783fc) --- diff --git a/js/ui/layout.js b/js/ui/layout.js index a66f65b1e..354ef60d4 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -308,7 +308,7 @@ export const LayoutManager = GObject.registerClass({ // A dummy actor that tracks the mouse or text cursor, based on the // position and size set in setDummyCursorGeometry. - this.dummyCursor = new St.Widget({width: 0, height: 0, opacity: 0}); + this.dummyCursor = new St.Widget({width: 0, height: 0, opacity: 0, name: 'Dummy Cursor'}); this.uiGroup.add_child(this.dummyCursor); const feedbackGroup = global.compositor.get_feedback_group();